package com.xz.knowledgeDuplication;

import com.xz.knowledgeDuplication.config.SwaggerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * Feign主入口
 *
 * @author 召
 * @date 2022-03-27 21:23:55
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@Import({
        SwaggerConfig.class
})
@EnableFeignClients // 启动openFeign
public class FeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignApplication.class, args);
    }
}
